package com.szbmyoubao.app.ui.login.forget

import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.ellecity06.common.base.BaseMvvmActivity
import com.ellecity06.common.base.BaseViewModel
import com.ellecity06.cwhiskymall.databinding.ActivityPwdStateBinding
import com.gyf.immersionbar.ktx.immersionBar

/**
 *@author joe
 *@data 2024/11/4
 *@describe
 */
class UpdateSuccessActivity : BaseMvvmActivity<ActivityPwdStateBinding, BaseViewModel>() {
    override val userBaseTitle: Boolean
        get() = false

    override fun initImmersionBar() {
        immersionBar {
            statusBarDarkFont(true)
            titleBar(binding.toolBar)
        }
    }

    companion object {
        fun launch(context: Context) {
            context.startActivity(
                Intent(context, UpdateSuccessActivity::class.java)
            )
        }
    }

    override fun inflateBinding(): ActivityPwdStateBinding =
        ActivityPwdStateBinding.inflate(layoutInflater)

    override fun initialize(savedInstanceState: Bundle?) {
        binding.toolBar.setNavigationOnClickListener { finish() }
        binding.tvConfirm.setOnClickListener { finish() }
    }
}